<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8" />
    <title>Grid - Basic</title>
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
    <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
    <script src="../../../../../scripts/testing/scripts.js"></script>
    <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
    <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
  </head>

  <body>
    <ion-app>
      <ion-header>
        <ion-toolbar>
          <ion-title>Grid - Basic</ion-title>
        </ion-toolbar>
      </ion-header>

      <ion-content id="content" class="grid-demo">
        <ion-grid>
          <ion-row>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>

            <ion-col size="6">
              <div>ion-col[width-50]</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col</div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col size="3">
              <div>ion-col[width-25]</div>
            </ion-col>
            <ion-col>
              <div>ion-col</div>
            </ion-col>
            <ion-col size="3">
              <div>ion-col[width-25]</div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col size="3">
              <div>ion-col[width-25]</div>
            </ion-col>
            <ion-col size="3" offset="3">
              <div>ion-col[width-25][offset-25]</div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col>
              <div>ion-col</div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br />#
              </div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br />#
              </div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br /># <br />#
              </div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col class="ion-align-self-start">
              <div>ion-col[top]</div>
            </ion-col>
            <ion-col class="ion-align-self-center">
              <div>ion-col[center]</div>
            </ion-col>
            <ion-col class="ion-align-self-end">
              <div>ion-col[bottom]</div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br />#
              </div>
            </ion-col>
          </ion-row>

          <ion-row class="ion-align-items-start">
            <ion-col>
              <div>[top] ion-col</div>
            </ion-col>
            <ion-col>
              <div>[top] ion-col</div>
            </ion-col>
            <ion-col class="ion-align-self-end">
              <div>[top] ion-col[bottom]</div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br />#
              </div>
            </ion-col>
          </ion-row>

          <ion-row class="ion-align-items-center">
            <ion-col>
              <div>[center] ion-col</div>
            </ion-col>
            <ion-col>
              <div>[center] ion-col</div>
            </ion-col>
            <ion-col>
              <div>[center] ion-col</div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br />#
              </div>
            </ion-col>
          </ion-row>

          <ion-row class="ion-align-items-end">
            <ion-col>
              <div>[bottom] ion-col</div>
            </ion-col>
            <ion-col class="ion-align-self-start">
              <div>[bottom] ion-col[top]</div>
            </ion-col>
            <ion-col>
              <div>[bottom] ion-col</div>
            </ion-col>
            <ion-col>
              <div>
                ion-col
                <br /># <br />#
              </div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col size="12" size-sm>
              <div>[responsive-sm] ion-col</div>
            </ion-col>
            <ion-col size="12" size-sm>
              <div>[responsive-sm] ion-col</div>
            </ion-col>
            <ion-col size="12" size-sm>
              <div>[responsive-sm] ion-col</div>
            </ion-col>
            <ion-col size="12" size-sm>
              <div>[responsive-sm] ion-col</div>
            </ion-col>
          </ion-row>

          <ion-row>
            <ion-col size="12" size-md>
              <div>[responsive-md] ion-col</div>
            </ion-col>
            <ion-col size="12" size-md>
              <div>[responsive-md] ion-col</div>
            </ion-col>
            <ion-col size="12" size-md>
              <div>[responsive-md] ion-col</div>
            </ion-col>
            <ion-col size="12" size-md>
              <div>[responsive-md] ion-col</div>
            </ion-col>
          </ion-row>

          <ion-row responsive-lg>
            <ion-col size="6" offset="3">
              <div>[responsive-lg] ion-col[width-50][offset-25]</div>
            </ion-col>
            <ion-col size="3">
              <div>[responsive-lg] ion-col[width-25]</div>
            </ion-col>
          </ion-row>
        </ion-grid>
      </ion-content>

      <style>
        .grid-demo ion-col div {
          background-color: #f7f7f7;
          border: 1px solid #ddd;
          padding: 10px 5px;
        }
      </style>
    </ion-app>
  </body>
</html>
